<?php
$html = str_replace('<!--{me}-->', nl2br(htmlentities($about->me)), $html);

//imagenes
$colIzq = '';
$colDer = '';
$i=1;

foreach ($about->clients as $client) {
    if ($i%2 == 0) {
        $colDer .= '<li><p>'.htmlentities($client->value).'</p></li>';
    } else {
        $colIzq .= '<li><p>'.htmlentities($client->value).'</p></li>';
    }
    $i++;
}
$html = str_replace('<!--{clientsColIzq}-->', $colIzq, $html);
$html = str_replace('<!--{clientsColDer}-->', $colDer, $html);

$html = str_replace('<!--{url}-->', URL, $html);

$html = preg_replace('/<!-+\{*[A-Za-z0-9]*\}*-+>/', '', $html);
?>
